Class LeadingEigenvector
java.lang.Object
edu.claflin.finder.algo.Algorithm
edu.claflin.finder.algo.clustering.ClusteringAlgorithm
edu.claflin.finder.algo.clustering.LeadingEigenvector
- All Implemented Interfaces:
Processable<Graph,Graph>
Leading Eigenvector Algorithm for Community Detection, following Mark Newman's "Finding community structure in networks
using the eigenvectors of matrices".
Uses JAMA to calculate leading eigenvectors and eigenvalues.
For more information see "Finding community structure in networks using the eigenvectors of matrices" by Mark Newman
There are also detailed comments and descriptions in:
edu.claflin.finder.algo.clustering.struct.leading_eigenvector_struct.LeadingEigenvectorAlgorithm.java
- Author:
- Samuel Perez
-
Nested Class Summary
Nested classes/interfaces inherited from class edu.claflin.finder.algo.Algorithm
Algorithm.GraphSortOrder -
Field Summary
Fields inherited from class edu.claflin.finder.algo.Algorithm
args, PROP_PROGRESS -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class edu.claflin.finder.algo.clustering.ClusteringAlgorithm
buildCommunityGraphs, isWeightedMethods inherited from class edu.claflin.finder.algo.Algorithm
addPropertyChangeListener, cull, getGraphSortOrder, getMinNodeCount, getPartiteNumber, getWeightName, removePropertyChangeListener, setGraphSortOrder, setMinNodeCount, setPartiteNumber, setProgress, setWeightName, zeropad
-
Constructor Details
-
LeadingEigenvector
-
-
Method Details
-
toString
-
process
Performs community detection using Mark Newman's Leading Eigenvector algorithm on a given Graph object, returning the clustering the highest approximated modularity.- Parameters:
graph- the Graph on which community detection will be performed- Returns:
- the list of Graphs representing the clustering with the highest approximated modularity
-